/*
 * @Author: your name
 * @Date: 2021-04-18 16:42:10
 * @LastEditTime: 2021-04-19 08:32:47
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \新建文件夹\the-third-group\patient-app\src\mock\docList.js
 */
import Mock from 'mockjs'

const docList = Mock.mock({
    'list|20': [{
        hospital: '@province(city)'+'301'+'@integer(1,100)',
        name: '@cname',
        price: '@integer(100,1000)',
        type: ['发烧', '胃痛', '糖尿病'],
        rate: '@integer(1,100)',
        count: '@integer(1,10000)',
        isFull: '@integer(1,5)',
        id: '@id',
        imgUrl: '@image(70x70, @color)',
        office: /儿科|妇科|产科|外科|神经科/,
    }]
})

Mock.mock('/api/docList', () => docList.list)